package com.wfh.bean;

import android.os.Parcel;
import android.os.Parcelable;

//":[{"banner_id":"1","shop_id":"1","img":".\/Public\/uploadfile\/banner\/1367741919.png","url":"www","bak":"d","position":"1","review":"1","status":"0"}]}

public class BannerBean implements Parcelable{
	private String banner_id;
	private String shop_id;
	private String img;
	private String url;
	private String bak;
	private String position;
	private String review;
	private String status;
	
	public String getBanner_id() {
		return banner_id;
	}
	public void setBanner_id(String bannerid) {
		this.banner_id = bannerid;
	}
	public String getShop_id() {
		return shop_id;
	}
	public void setShop_id(String shopid) {
		this.shop_id = shopid;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getBak() {
		return bak;
	}
	public void setBak(String bak) {
		this.bak = bak;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public String getReview() {
		return review;
	}
	public void setReview(String review) {
		this.review = review;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}
	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(banner_id);
		dest.writeString(shop_id);
		dest.writeString(img);
		dest.writeString(url);
		dest.writeString(bak);
		dest.writeString(position);
		dest.writeString(review);
		dest.writeString(status);
		
	}
	public static final Parcelable.Creator<BannerBean> CREATOR = new Creator<BannerBean>() {

		@Override
		public BannerBean createFromParcel(Parcel source) {
			// TODO Auto-generated method stub
			BannerBean bean = new BannerBean();
			bean.banner_id = source.readString();
			bean.shop_id = source.readString();
			bean.img = source.readString();
			bean.url = source.readString();
			bean.bak = source.readString();
			bean.position = source.readString();
			bean.review = source.readString();
			bean.status = source.readString();

			return bean;
		}

		@Override
		public BannerBean[] newArray(int size) {
			// TODO Auto-generated method stub
			return new BannerBean[size];
		}

	};
}
